package com.group.doctor.dao.trans;


import com.group.doctor.entity.Doctor;
import com.group.doctor.dto.DoctorListVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author 奎爷
 */
@Mapper
public interface DoctorTrans {
    DoctorTrans MAPPER = Mappers.getMapper(DoctorTrans.class);
    DoctorListVo convertVo(Doctor doctor);
    List<DoctorListVo> converVoList(List<Doctor> list);
}
